package com.ynet.middleground.contract.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description 签名数据
 * @date 2020-04-12 02:04
 */
@Data
@ApiModel(value = "签名数据", description = "签名数据")
public class SignatureBeanDTO implements Serializable {

    private static final long serialVersionUID = 4567629705767308891L;

    @ApiModelProperty(value = "签名在PDF中的名称", notes = "签名在PDF中的名称", dataType = "String")
    private String signatureName;

    @ApiModelProperty(value = "该签名的验证结果:true成功,false失败", notes = "该签名的验证结果:true成功,false失败", dataType = "boolean")
    private Boolean validate;

    @ApiModelProperty(value = "签名数据来源，tsa-时间戳服务器，local-本地计算机", notes = "签名数据来源，tsa-时间戳服务器，local-本地计算机",
        dataType = "String")
    private String timeFrom;

    @ApiModelProperty(value = "文档签署时间，满足yyyy-MM-dd HH:mm:ss格式的日期时间字符串",
        notes = "文档签署时间，满足yyyy-MM-dd HH:mm:ss格式的日期时间字符串", dataType = "String")
    private String signDate;

}
